<template>
	<view class="box1">
		<view class="box-left">
			{{title1}}<text class="color">{{title2}}</text>
		</view>
		<view class="box-right">
			查看更多<text class="color">>></text>
		</view>
	</view>
</template>

<script>
	export default {
		props: {
			title1: String,
			title2: String
		},
		data() {
			return {}
		}
	}
</script>

<style>
	.box1 {
		width: 95%;
		margin: auto;
		display: flex;
		justify-content: space-between;
		font-size: 25rpx;
		margin-bottom: 20rpx;
	}

	.color {
		color: silver;
	}
</style>